{@$list_count = 0}
<form action="./" method="get" class="boardListForm">
    <fieldset>
        <legend>List of Articles</legend>
        <table cellspacing="0" border="1" summary="List of Articles" class="boardList">
			<thead>
				<tr>
					<th scope="col">{$lang->no}</th>
					<th scope="col" class="title" colspan="2">{$lang->title}</th>

					<th scope="col"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./img/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
					<th scope="col"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./img/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
					<th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_post}<!--@if($sort_index=='last_update')--><img src="./img/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
					<th scope="col"><a href="{getUrl('sort_index', $val->eid, 'order_type', $order_type)}">{$val->name}<!--@if($sort_index == $val->eid)--><img src="./img/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th>
				</tr>
			</thead>
			<tbody>
				<!--@if(!$document_list && !$notice_list)-->
				<tr>
					<td colspan="6">
						{$lang->no_documents}
					</td>
				</tr>
				<!--@else-->
				<!--@foreach($document_list as $no => $document)-->
				{@ $i++;}
				<tr class="bg{($no+1)%2+1} <!--@if($i == count($document_list))-->last<!--@end-->">
					<td class="num"><!--@if($document_srl == $document->document_srl)-->&raquo;<!--@else-->{$no}<!--@end--></td>
					<td class="image">
						<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}" class="thumb" style="float:left;width:60px">
						    <!--@if($document->getThumbnail(60, 60, $module_info->thumbnail_type))-->
						    <img src="{$document->getThumbnail(60, 60, $module_info->thumbnail_type)}" alt="" />
						    <!--@else-->
						    <img src="./img/ico_tile_bucket.png" width="60" height="60" alt="" />
						    <!--@end-->
						</a>
				    </td>
				    <td  class="title">
						<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">
						    {$document->getTitle($module_info->subject_cut_size)}
						</a>
					</td>
					<td class="date">{$document->getRegdate('Y-m-d')}</td>
					<td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'0'}</td>
                    <td class="lastReply">
                        <!--@if((int)($document->get('comment_count'))>0)-->
                            <a href="{$document->getPermanentUrl()}#comment" class="replyAnchor">{zdate($document->get('last_update'),'Y-m-d')} {zdate($document->get('last_update'),'H:i')}</a>
                            <!--@if($document->get('last_updater'))-->
                                <sub class="by">by</sub>
                                {htmlspecialchars($document->get('last_updater'))}
                            <!--@end-->
                        <!--@else-->
                            -
                        <!--@end-->
                    </td>
				</tr>
				<!--@end-->
			<!--@end-->
			</tbody>
        </table>
    </fieldset>
</form>